import {FormRuleUtil} from "@/utils";


export const REGISTER_EDIT = {
    BODY: {
        title: "",
        description: "",
        linkId: null,
        posterId: null,
        kind: null,
        nature: "",
        state: "",
        reward: {
            achievedQuantity: 1,
            rewardQuantity: 1,
            mostQuantity: 0,
            rule: ""
        },
    },
    RULES: {
        title: FormRuleUtil.strRule("活动标题", true, 100),
        description: FormRuleUtil.strRule("活动描述", true),
        posterId: FormRuleUtil.strRule("关联海报", true),
        linkId: FormRuleUtil.strRule("关联链接", true),
        kind: FormRuleUtil.strRule("活动分类", true),
        nature: FormRuleUtil.strRule("活动性质", true),
        state: FormRuleUtil.strRule("活动状态", true),
        reward: {
            rule: FormRuleUtil.strRule("奖励规则", true),
        }
    }
}



